﻿
namespace Server.Constant
{
    /// <summary>
    /// Author: Leil
    /// Description: 消息号
    /// CreateTime: 2020/5/11 16:44:43
    /// </summary>
    class MessageId
    {
        /// <summary>
        /// 新增或编辑角色
        /// </summary>
        public const int ADD_EDIT_ROLE = 0X500011;

        /// <summary>
        /// 删除角色
        /// </summary>
        public const int DELETE_ROLE = 0X500012;

        /// <summary>
        /// 角色操作回复
        /// </summary>
        public const int OPT_RESP = 0X500013;

        /// <summary>
        /// 请求角色列表
        /// </summary>
        public const int REQUEST_ROLE_LIST = 0X500014;

        /// <summary>
        /// 角色列表回复
        /// </summary>
        public const int ROLE_LIST = 0X500015;

        /// <summary>
        /// 新增或编辑组织机构
        /// </summary>
        public const int ADD_EDIT_ORG = 0X500016;

        /// <summary>
        /// 删除组织机构
        /// </summary>
        public const int DELETE_ORG = 0X500017;


        /// <summary>
        /// 请求组织机构列表
        /// </summary>
        public const int REQUEST_ORG_LIST = 0X500018;



        /// <summary>
        /// 组织机构列表回复
        /// </summary>
        public const int ORG_LIST = 0X500019;


        /// <summary>
        /// 添加编辑用户
        /// </summary>
        public const int ADD_EDIT_USER = 0X50001A;

        /// <summary>
        /// 删除用户
        /// </summary>
        public const int DELETE_USER = 0X50001B;

        /// <summary>
        /// 请求用户列表
        /// </summary>
        public const int REQUEST_USER_LIST = 0X50001C;


        /// <summary>
        /// 用户列表
        /// </summary>
        public const int USER_LIST = 0X50001D;


        /// <summary>
        /// 添加编辑权限
        /// </summary>
        public const int ADD_EDIT_PERMISSION = 0X50001E;

        /// <summary>
        /// 删除权限
        /// </summary>
        public const int DELETE_PERMISSION = 0X50001F;

        /// <summary>
        /// 请求权限列表
        /// </summary>
        public const int REQUEST_PERMISSION_LIST = 0X500021;


        /// <summary>
        /// 权限列表
        /// </summary>
        public const int PERMISSION_LIST = 0X500022;

        /// <summary>
        /// 添加编辑菜单
        /// </summary>
        public const int ADD_EDIT_MENU = 0X500023;

        /// <summary>
        /// 删除菜单
        /// </summary>
        public const int DELETE_MENU = 0X500024;

        /// <summary>
        /// 请求菜单列表
        /// </summary>
        public const int REQUEST_MENU_LIST = 0X500025;


        /// <summary>
        /// 菜单列表
        /// </summary>
        public const int MENU_LIST = 0X500026;

        /// <summary>
        /// 请求顶级菜单列表
        /// </summary>
        public const int REQUEST_TOP_MENUS = 0X500027;

        /// <summary>
        /// 顶级菜单列表回复
        /// </summary>
        public const int RESPONSE_TOP_MENUS = 0X500028;

        /// <summary>
        /// 请求菜单树
        /// </summary>
        public const int REQUEST_MENUS_TREE = 0X500029;

        /// <summary>
        /// 菜单树回复
        /// </summary>
        public const int RESPONSE_MENUS_TREE = 0X50002A;

        /// <summary>
        /// 角色权限分配请求
        /// </summary>
        public const int REQUEST_ALLOT_PERMISSION = 0X50002B;

        /// <summary>
        /// 请求所有的角色
        /// </summary>
        public const int REQUEST_ALL_ROLES = 0X50002C;

        /// <summary>
        /// 所有角色回复
        /// </summary>
        public const int RESPONSE_ALL_ROLES = 0X50002D;

        /// <summary>
        /// 用户登录
        /// </summary>
        public const int REQUEST_LOGIN = 0X600001;

        /// <summary>
        /// 用户登录回复
        /// </summary>
        public const int RESPONSE_LOGIN = 0X600002;

        /// <summary>
        /// 请求组织机构树状列表
        /// </summary>
        public const int REQUEST_ORG_TREE = 0X50002E;

        /// <summary>
        /// 组织机构树状列表回复
        /// </summary>
        public const int RESPONSE_ORG_TREE = 0X50002F;


        /// <summary>
        /// 登出请求
        /// </summary>
        public const int REQUEST_LOGOUT = 0X500033;

        /// <summary>
        /// 登出请求回复
        /// </summary>
        public const int RESPONSE_LOGOUT = 0X500034;

        /// <summary>
        /// 请求登录日志
        /// </summary>
        public const int REQUEST_LOGIN_LOG = 0X500035;

        /// <summary>
        /// 登录日志回复
        /// </summary>
        public const int RESPONSE_LOGIN_LOG = 0X500036;

        /// <summary>
        /// 发送文件
        /// </summary>
        public const int SEND_FILE = 0X800001;

    }
}
